﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class payMentToERPDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }

    /// <summary>
    /// 付款单请求
    /// </summary>
    public class payMentRequestDto
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        [Display(Name = "PV_SOURCE_SYS_CODE")]
        public string PV_SOURCE_SYS_CODE { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        [Display(Name = "PV_BUSINESS_TYPE_CODE")]
        public string PV_BUSINESS_TYPE_CODE { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        [Display(Name = "PV_SYNCHRO_FLAG")]
        public string PV_SYNCHRO_FLAG { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "ROWS")]
        public List<payMentDetailsRequestDto> ROWS { get; set; }

    }

    public class payMentDetailsRequestDto
    {
        /// <summary>
        /// 描述 : PAYMENT_INVOICE.付款对应发票 PAYMENT_BILL.付款对应票据
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ASSOCIATION_TYPE")]
        public string ASSOCIATION_TYPE { get; set; }

        /// <summary>
        /// 描述 : 来源付款单号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SOURCE_CHECK_NUM")]
        public string SOURCE_CHECK_NUM { get; set; }

        /// <summary>
        /// 描述 : 业务实体名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORG_NAME")]
        public string ORG_NAME { get; set; }

        /// <summary>
        /// 描述 : 供应商名称   
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VENDOR_NAME")]
        public string VENDOR_NAME { get; set; }


        /// <summary>
        /// 描述 : 供应商编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VENDOR_NUM")]
        public string VENDOR_NUM { get; set; }


        /// <summary>
        /// 描述 : 供应商地点 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VENDOR_SITE_CODE")]
        public string VENDOR_SITE_CODE { get; set; }

        /// <summary>
        /// 描述 : 付款总额 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_AMOUNT")]
        public string PAYMENT_AMOUNT { get; set; }


        /// <summary>
        /// 描述 : 银行账户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BANK_ACCOUNT_NAME")]
        public string BANK_ACCOUNT_NAME { get; set; }

        /// <summary>
        /// 描述 : 付款日期
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CHECK_DATE")]
        public string CHECK_DATE { get; set; }

        /// <summary>
        /// 描述 : 会计日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "GL_DATE")]
        public string GL_DATE { get; set; }

        /// <summary>
        /// 描述 : 付款币种 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_CURRENCY_CODE")]
        public string PAYMENT_CURRENCY_CODE { get; set; }


        /// <summary>
        /// 描述 : 付款方法名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_METHOD_CODE")]
        public string PAYMENT_METHOD_CODE { get; set; }


        /// <summary>
        /// 描述 : 付款处理配置文件 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_PROFILE_NAME")]
        public string PAYMENT_PROFILE_NAME { get; set; }

        /// <summary>
        /// 描述 : 汇率类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "EXCHANGE_RATE_TYPE")]
        public string EXCHANGE_RATE_TYPE { get; set; }

        /// <summary>
        /// 描述 : 汇率日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "EXCHANGE_DATE")]
        public string EXCHANGE_DATE { get; set; }

        /// <summary>
        /// 描述 : 汇率 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "EXCHANGE_RATE")]
        public string EXCHANGE_RATE { get; set; }

        /// <summary>
        /// 描述 : 现金流量项 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CHECK_ATTRIBUTE1")]
        public string CHECK_ATTRIBUTE1 { get; set; }

        /// <summary>
        /// 描述 : 票据类型名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_TYPE_NAME")]
        public string BILL_TYPE_NAME { get; set; }

        /// <summary>
        /// 描述 : 票据号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_NUM")]
        public string BILL_NUM { get; set; }

        /// <summary>
        /// 描述 : 出票人 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_DRAWER")]
        public string BILL_DRAWER { get; set; }

        /// <summary>
        /// 描述 : 出票银行 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_BANK")]
        public string BILL_BANK { get; set; }


        /// <summary>
        /// 描述 : 出票日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_DATE")]
        public string BILL_DATE { get; set; }

        /// <summary>
        /// 描述 : 到期日 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_DUE_DATE")]
        public string BILL_DUE_DATE { get; set; }

        /// <summary>
        /// 描述 : 票据金额 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_AMOUNT")]
        public string BILL_AMOUNT { get; set; }

        /// <summary>
        /// 描述 : 票据现金账户 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CASH_CODE")]
        public string CASH_CODE { get; set; }

        /// <summary>
        /// 描述 : 代付人 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYING_AGENT")]
        public string PAYING_AGENT { get; set; }


        /// <summary>
        /// 描述 : 合同号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CONTRACT_NUM")]
        public string CONTRACT_NUM { get; set; }


        /// <summary>
        /// 描述 : 款项性质 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_NATURE")]
        public string PAYMENT_NATURE { get; set; }


        /// <summary>
        /// 描述 : 保证金比例 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "MARGIN_LEVEL")]
        public string MARGIN_LEVEL { get; set; }


        /// <summary>
        /// 描述 : 发票号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVOICE_NUM")]
        public string INVOICE_NUM { get; set; }


        /// <summary>
        /// 描述 : 发票金额 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVOICE_AMOUNT")]
        public string INVOICE_AMOUNT { get; set; }

        /// <summary>
        /// 描述 : 处理人账号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }


        /// <summary>
        /// 描述 : ERP付款单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CHECK_NUMBER")]
        public string CHECK_NUMBER { get; set; }
    }


    /// <summary>
    /// 成品入库过账返回
    /// </summary>
    public class payMentResponseDto
    {
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "ROWS")]

        public List<payMentDetailsResponseDto> ROWS { get; set; }

    }

    public class payMentDetailsResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INTF_STATUS")]
        public string INTF_STATUS { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INTF_MESSAGE")]
        public string INTF_MESSAGE { get; set; }
        /// <summary>
        /// 描述 : PAYMENT_INVOICE.付款对应发票 PAYMENT_BILL.付款对应票据
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ASSOCIATION_TYPE")]
        public string ASSOCIATION_TYPE { get; set; }

        /// <summary>
        /// 描述 : 来源付款单号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SOURCE_CHECK_NUM")]
        public string SOURCE_CHECK_NUM { get; set; }

        /// <summary>
        /// 描述 : 业务实体名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORG_NAME")]
        public string ORG_NAME { get; set; }

        /// <summary>
        /// 描述 : 供应商名称   
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VENDOR_NAME")]
        public string VENDOR_NAME { get; set; }


        /// <summary>
        /// 描述 : 供应商编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VENDOR_NUM")]
        public string VENDOR_NUM { get; set; }


        /// <summary>
        /// 描述 : 供应商地点 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VENDOR_SITE_CODE")]
        public string VENDOR_SITE_CODE { get; set; }

        /// <summary>
        /// 描述 : 付款总额 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_AMOUNT")]
        public string PAYMENT_AMOUNT { get; set; }


        /// <summary>
        /// 描述 : 银行账户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BANK_ACCOUNT_NAME")]
        public string BANK_ACCOUNT_NAME { get; set; }

        /// <summary>
        /// 描述 : 付款日期
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CHECK_DATE")]
        public string CHECK_DATE { get; set; }

        /// <summary>
        /// 描述 : 会计日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "GL_DATE")]
        public string GL_DATE { get; set; }

        /// <summary>
        /// 描述 : 付款币种 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_CURRENCY_CODE")]
        public string PAYMENT_CURRENCY_CODE { get; set; }


        /// <summary>
        /// 描述 : 付款方法名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_METHOD_CODE")]
        public string PAYMENT_METHOD_CODE { get; set; }


        /// <summary>
        /// 描述 : 付款处理配置文件 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_PROFILE_NAME")]
        public string PAYMENT_PROFILE_NAME { get; set; }

        /// <summary>
        /// 描述 : 汇率类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "EXCHANGE_RATE_TYPE")]
        public string EXCHANGE_RATE_TYPE { get; set; }

        /// <summary>
        /// 描述 : 汇率日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "EXCHANGE_DATE")]
        public string EXCHANGE_DATE { get; set; }

        /// <summary>
        /// 描述 : 汇率 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "EXCHANGE_RATE")]
        public string EXCHANGE_RATE { get; set; }

        /// <summary>
        /// 描述 : 现金流量项 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CHECK_ATTRIBUTE1")]
        public string CHECK_ATTRIBUTE1 { get; set; }

        /// <summary>
        /// 描述 : 票据类型名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_TYPE_NAME")]
        public string BILL_TYPE_NAME { get; set; }

        /// <summary>
        /// 描述 : 票据号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_NUM")]
        public string BILL_NUM { get; set; }

        /// <summary>
        /// 描述 : 出票人 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_DRAWER")]
        public string BILL_DRAWER { get; set; }

        /// <summary>
        /// 描述 : 出票银行 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_BANK")]
        public string BILL_BANK { get; set; }


        /// <summary>
        /// 描述 : 出票日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_DATE")]
        public string BILL_DATE { get; set; }

        /// <summary>
        /// 描述 : 到期日 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_DUE_DATE")]
        public string BILL_DUE_DATE { get; set; }

        /// <summary>
        /// 描述 : 票据金额 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILL_AMOUNT")]
        public string BILL_AMOUNT { get; set; }

        /// <summary>
        /// 描述 : 票据现金账户 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CASH_CODE")]
        public string CASH_CODE { get; set; }

        /// <summary>
        /// 描述 : 代付人 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYING_AGENT")]
        public string PAYING_AGENT { get; set; }


        /// <summary>
        /// 描述 : 合同号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CONTRACT_NUM")]
        public string CONTRACT_NUM { get; set; }


        /// <summary>
        /// 描述 : 款项性质 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PAYMENT_NATURE")]
        public string PAYMENT_NATURE { get; set; }


        /// <summary>
        /// 描述 : 保证金比例 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "MARGIN_LEVEL")]
        public string MARGIN_LEVEL { get; set; }


        /// <summary>
        /// 描述 : 发票号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVOICE_NUM")]
        public string INVOICE_NUM { get; set; }


        /// <summary>
        /// 描述 : 发票金额 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVOICE_AMOUNT")]
        public string INVOICE_AMOUNT { get; set; }

        /// <summary>
        /// 描述 : 处理人账号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "USER_NAME")]
        public string USER_NAME { get; set; }


        /// <summary>
        /// 描述 : ERP付款单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CHECK_NUMBER")]
        public string CHECK_NUMBER { get; set; }
    }

}
